import request from '@/utils/request'
const api = {}

//订单报表查询
api.getList = data => {
    return request({
      url: `/log/reportOrder/query`,
      method: 'get',
      params:data
    })
  } 

//订单报表导出
api.report = data => {
    return request({
      url: `/report/order/report`,
      method: 'get',
      params:data
    })
} 

//订单明细报表查询
api.getDetailList = data => {
    return request({
      url: `/log/reportOrderdetail/query`,
      method: 'get',
      params:data
    })
  } 

//订单明细报表导出
api.orderDetailExport = data => {
    return request({
      url: `/report/orderDetail/report`,
      method: 'get',
      params:data
    })
} 



export default api